import React from 'react'
// const baseUrl = '/mock/27/user/api'
const baseUrl = '/user/api'
//宠圈动态列表
export async function apiDynamicPage(params) {
    return await React.$postJson(baseUrl + '/b/petDynamic/page', params);
}
//宠圈时间展示开关-回显
export async function apiGetTimeShowFlag(params) {
    return await React.$postJson(baseUrl + '/b/petDynamic/getTimeShowFlag', params);
}
//宠圈时间展示开关
export async function apiSetTimeShow(params) {
    return await React.$postJson(baseUrl + '/b/petDynamic/timeShow', params);
}
//批量设置发布时间
export async function apiSetReleaseTime(params) {
    return await React.$postJson(baseUrl + '/b/petDynamic/batchSetReleaseTime', params);
}
//批量/单条审核（驳回/通过）
export async function apiSetAuditStatus(params) {
    return await React.$postJson(baseUrl + '/b/petDynamic/audit', params);
}
//转发统计列表
export async function apiGetListDynamicShare(params) {
    return await React.$postJson(baseUrl + '/b/petDynamic/listDynamicShare', params);
}
//分类列表（推荐和关注不需要返回）
export async function apiGetListTabCategory(params) {
    return await React.$get(baseUrl + '/b/petDynamic/listTabCategory', params);
}
//转发统计列表
export async function apiAddDynamicCategory(params) {
    return await React.$postJson(baseUrl + '/b/petDynamic/addDynamicCategory', params);
}
//查询虚拟用户手机号
export async function apiGetMemberPhone(params) {
    return await React.$get(baseUrl + '/b/memberInfo/listVirtualMemberPhone', params);
}
//根据虚拟手机号查询用户昵称和头像
export async function apiGetMemberByPhone(params) {
    return await React.$get(baseUrl + '/b/memberInfo/getMemberByPhone', params);
}
//新建运营动态
export async function apiAddOperatorDynamic(params) {
    return await React.$postJson(baseUrl + '/b/petDynamic/addOperatorDynamic', params);
}
//动态详情/运营动态详情
export async function apiGetDynamicDetail(params) {
    return await React.$get(baseUrl + '/b/petDynamic/getDynamicDetail', params);
}
//查询操作日志
export async function apiGetOperationLog(params) {
    return await React.$postJson(baseUrl + '/b/petDynamic/getOperationLog', params);
}
//单个动态关联的分类列表
export async function apiGetListTabCategoryByDynamicId(params) {
    return await React.$get(baseUrl + '/b/petDynamic/listTabCategoryByDynamicId', params);
}
//修改运营动态
export async function apiUpdateOperatorDynamic(params) {
    return await React.$postJson(baseUrl + '/b/petDynamic/updateOperatorDynamic', params);
}
//标签列表
export async function apiDynamicLabelList(params) {
    return await React.$get(baseUrl + '/b/dynamicLabel/list', params);
}
//web发布评论
export async function apiDynamicWebAdd(params) {
    return await React.$postJson('/user/api/b/dynamicComments/webAdd', params);
}
